<?php

    if (!defined('BASEPATH'))
        exit('No direct script access allowed');

    $route['default_controller'] = "main";
    $route['404_override'] = 'not_found';

    $route['(:any)/cipatravel/links'] = 'page/links';
    $route['(:any)/cipatravel/(:any)'] = 'page/cipatravel/$2';

    $route['(:any)/transfers'] = 'transfers';
    $route['(:any)/transfers/search'] = 'transfers/search';
    $route['(:any)/transfers/reservation'] = 'transfers/reservation';
    $route['(:any)/transfers/confirmation'] = 'main/confirmationTransfers';

    $route['(:any)/rentacar'] = 'page/rentacar/$2';

    $route['(:any)/excursions'] = 'excursions';
    $route['(:any)/excursions/confirmation'] = 'main/confirmationExcursions';
    $route['(:any)/excursions/reservation'] = 'excursions/reservation';
    $route['(:any)/excursions/availability'] = 'excursions/availability';
    $route['(:any)/excursions/changedatesExc'] = 'excursions/changedatesExc';
    $route['(:any)/excursions/(:any)'] = 'excursions/detailsExc/$2';


    $route['(:any)/top_offer'] = 'page/top_offer/$2';
    $route['(:any)/top_offer/(:any)'] = 'page/top_offer_view/$2';

    $route['(:any)/hotels/reservation_cancellation'] = 'main/show_cancellation';
    $route['(:any)/hotels/cancellation_confirmation'] = 'main/show_cancellation_tnx';

    $route['(:any)/show_review_form'] = 'main/show_review_form';
    $route['(:any)/subit_review'] = 'main/subit_review_form';

    $route['(:any)/merchant_return_payment'] = 'main/merchant_return_payment';
    $route['(:any)/confirm_payment'] = 'main/confirm_payment';
    $route['(:any)/error_payment'] = 'main/error_payment';

    $route['^(en|me|ru|de)/(.+)$'] = "main/$2";
    $route['^(en|me|ru|de)$'] = $route['default_controller'];

    $route['(:any)/accommodation/(:any)'] = 'main/accommodation/$2';



    /* End of file routes.php */
/* Location: ./application/config/routes.php */